Java is case sensitive, and there isn't any Readline() method. Perhaps you mean readLine(). DataInputStream.readLine() is deprecated in favour ... ... <看更多>
It looks like pretty idiomatic C, but do you think this is a good practice in Java? private void demoA(BufferedReader reader) throws IOException { String line = ... ... <看更多>